#!/bin/bash

if [ $# -ne 2 ]
then
    echo "USAGE: add_admin_user.sh <username> <password>"
    exit 65
fi

echo -e "$1\n$2\n" | CLASSPATH=.:iaik_jce.jar java mitm/MITMPassword mitm.passwd $1 $2

